package sgi.message;

/** message of setting a complaint that is declined and updating columns of username as responded */
@SuppressWarnings("serial")
public class MessageDeclineComplaint extends Message {
	private String userName;
	private String dateTime;
	public MessageDeclineComplaint(String userName,String dateTime) {
		super("update complaint set pending=1, approved=0 where username='" + userName + "' and datetime ='" + dateTime +"'");
		this.userName=userName;
		this.dateTime=dateTime;
	}
	
	
	public String getUsername()
	{
		return this.userName;
	}
	
	public String getDatetime() {
		return this.dateTime;
	}
	
}
